@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
  ::-webkit-scrollbar-track-piece {
    background: #dedede;
  }

  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }

  ::-webkit-scrollbar-thumb {
    background: #b1aeae;
    border-radius: 10px;
  }
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

// 公用框架
.pub-body{
  padding: 30px;
  width: 100%;
}

.components-input-presuffix  {
  .el-icon-circle-close{
    cursor: pointer;
    color: #ccc;
    transition: color 0.3s;
    font-size: 12px;
    &:hover {
      color: #f5222d;
    }
    &:active {
      color: #666;
    }
  }
}


.el-input.is-disabled .el-input__inner {
   background-color:inherit;
   color: inherit;
   cursor: inherit;
}


el-switch.is-disabled .el-switch__core, .el-switch.is-disabled {
  cursor: inherit;
}
